/*
 * Copyright (C) 2004, Velocityme Partnership
 * PersonValueActionForm.java
 *
 * Created on 28 September 2004, 07:41
 */

package com.velocityme.www.actionforms.nodeactionforms;

import com.velocityme.entity.Person;
import com.velocityme.session.KeyLocal;

/**
 *
 * @author  Robert
 */
public class PersonActionForm extends ContactableActionForm {
    
    private String m_firstName;
    private String m_lastName;
    private String m_jobTitle;

    public void extractPerson(KeyLocal key, Person person) {
        extractContactable(key, person);
        person.setFirstName(m_firstName);
        person.setLastName(m_lastName);
        person.setJobTitle(m_jobTitle);
    }

    public String getFirstName() {
        return m_firstName;
    }
    
    public void setFirstName(String firstName) {
        m_firstName = firstName;
    }
    
    public String getLastName() {
        return m_lastName;
    }
    
    public void setLastName(String lastName) {
        m_lastName = lastName;
    }
    
    public String getJobTitle() {
        return m_jobTitle;
    }
    
    public void setJobTitle(String jobTitle) {
        m_jobTitle = jobTitle;
    }
    
}
